<%--
  Created by IntelliJ IDEA.
  User: Bronya
  Date: 2022/12/2
  Time: 0:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8" />
    <title>Read——睁眼看世界</title>
    <link rel="stylesheet" href="/css/bookdetail.css">
</head>
<body>
<div class="header">
    <div class="logo"><a href="/tohome"><img src="/images/logo.jpg" alt="本网站Logo"></a></div>
    <div style="position: absolute;left: 1500px; height: 300px">
        <a href="/tocart"><img src="/images/cart1.png" style="width: 50px"> </a>
    </div>
    <div class="search-box">
        <form method="post" action="/selectbooktohome">
            搜索<input name="name">
        </form>
    </div>
</div>
<div class="nav">
    <ul>
        <li><a href="/tohome">主页</a></li>
        <li><a href="/tofinance">金融</a></li>
        <li><a href="/tohuman">人文社科</a></li>
        <li><a href="/tochildren">儿童读物</a></li>
        <li><a href="/tocomputer">计算机</a></li>
    </ul>
</div>
<div id="all">
    <div style="clear: both;"></div>
    <div id="content">
        <div class="a1">
            <img class="big" src="/images/${book.image}">
        </div>
        <div class="a2">
            <h2>你要——财富自由</h2>
            <div class="a21">
                <div class="a211">
                    <span class="color">售价</span>
                    <span class="prices">${book.price}</span>
                    <br>
                    <span>图书编号</span>
                    <span class="prices2">${book.book_id}</span>
                    <br>
                    <span>图书库存</span>
                    <span class="prices2">${book.quantity}</span>
                    <br>
                    <span>图书页数</span>
                    <span class="prices2">${book.page}</span>
                    <br>
                    <span>出版日期</span>
                    <span class="prices2">${book.date}</span>
                </div>
                <div class="a22">
                    <p></p>
                    <span class="color">分类</span>
                    <span class="neir">${book.type}</span>
                    <p></p>
                    <span class="color">出版社</span>
                    <span class="neir">${book.publisher}</span>
                    <p></p>
                    <span class="color">作者</span>
                    <span class="neir">${book.author}</span>
                </div>
                <div class="a23">
                    <span class="color">图书梗概：</span>
                    <span>${book.detail}</span>
                </div>
                <div class="a25">
                    <a href="/addtocart?book_id=${book.book_id}"><button class="a25color1">加入购物车</button></a>
                    <a href="/topayone?book_id=${book.book_id}"><button class="a25color2">立即购买</button></a>
                </div>
            </div>
        </div>
    </div>
    <div style="clear: both;"></div>
</div>
</body>
</html>

